<?php
/**
 * ClassName:渠道详情对象
 * @auditor:leijunxiang
 * @time 2025/4/2 17:43
 */

namespace app\model\freightForward;

use app\factory\Factory;
use app\model\ModelBase;

class ChannelDetail extends ModelBase
{
    //详情id
    protected $detailId;
    //渠道id
    protected $channelId;
    //区域名称
    protected $areaName;
    //日期
    protected $time;

    /**
     * 获取对象实例
     * @return
     */
    static public function getObj()
    {
        $count = Factory::createUniqueNumber();
        $obj = app(ChannelDetail::class);
        $obj->setDetailId($count);
        return $obj;
    }

    /**
     * @return mixed
     */
    public function getDetailId()
    {
        return $this->detailId;
    }

    /**
     * @param mixed $detailId
     */
    public function setDetailId($detailId): void
    {
        $this->detailId = $detailId;
    }

    /**
     * @return mixed
     */
    public function getChannelId()
    {
        return $this->channelId;
    }

    /**
     * @param mixed $channelId
     */
    public function setChannelId($channelId): void
    {
        $this->channelId = $channelId;
    }

    /**
     * @return mixed
     */
    public function getAreaName()
    {
        return $this->areaName;
    }

    /**
     * @param mixed $areaName
     */
    public function setAreaName($areaName): void
    {
        $this->areaName = $areaName;
    }

    /**
     * @return mixed
     */
    public function getTime()
    {
        return $this->time;
    }

    /**
     * @param mixed $time
     */
    public function setTime($time): void
    {
        $this->time = $time;
    }



}